package edu.gdkm.service.impl;

import edu.gdkm.dao.UserDao;
import edu.gdkm.dao.impl.UserDaoImpl;
import edu.gdkm.service.UserService;

public class UserServiceImpl implements UserService {
    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public boolean login(String name, String password) {
        return userDao.login(name,password);
    }


}
